# -*- coding: utf-8 -*-

import logging

from odoo import api, fields, models

_logger = logging.getLogger(__name__)


class StockLot(models.Model):
    _inherit = 'stock.lot'

    is_lock = fields.Boolean('Locked or not', required=True, readonly=True, default=False)
    supplier_lot_name = fields.Char('supplier lot')
    production_date = fields.Date(string="Production date")
    warranty_date = fields.Date(string="Warranty date")
    # 送货单号
    delivery_no = fields.Char(string='Delivery No')
